package cn.springBoot.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author ljx
 * @since 2021-10-26
 */
@TableName("user_actuser")
public class UserActuser extends Model<UserActuser> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("user_id")
    private Integer userId;
    @TableField("act_user_id")
    private String actUserId;


    public Integer getId() {
        return id;
    }

    public UserActuser setId(Integer id) {
        this.id = id;
        return this;
    }

    public Integer getUserId() {
        return userId;
    }

    public UserActuser setUserId(Integer userId) {
        this.userId = userId;
        return this;
    }

    public String getActUserId() {
        return actUserId;
    }

    public UserActuser setActUserId(String actUserId) {
        this.actUserId = actUserId;
        return this;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "UserActuser{" +
        ", id=" + id +
        ", userId=" + userId +
        ", actUserId=" + actUserId +
        "}";
    }
}
